﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FooFun.Web.Controls;
using FooFun.DataElements.Dtos;
using FAQFrameworks;

namespace FooFun.Web.Controls
{
    public class TopicIdView : DataElementControl
    {
        public override IDataElement DataElement
        {
            get
            {
                return base.DataElement;
            }
            set
            {
                TopicManager topicManager =
                            new TopicManager();

                base.DataElement = topicManager.GetElement(value);
            }
        }
    }
}
